<template>
	<view class="cu-modal drawer-modal justify-start" :class="modalName=='DrawerModalL'?'show':''" @tap="hideModal">
		<view class="cu-dialog basis-lg" @tap.stop="" :style="[{top:CustomBar+'px',height:'calc(100vh - ' + CustomBar + 'px)'}]">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default{
		data() {
			return {
				CustomBar: this.CustomBar,
				modalName: null,
			}
		},
		methods: {
			showModal() {
				this.modalName = "DrawerModalL"
			},
			hideModal() {
				this.modalName = null
			},
		}
	}
</script>

<style>
</style>